package com.haste;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName:DeptConsumer80
 * @Description:
 * @Author:Haste
 * @Date:2021/2/2 9:55
 */
@SpringBootApplication
@EnableEurekaClient
//将feign扫描进来
@EnableFeignClients(basePackages = {"com.haste.service"})
//@ComponentScan("com.haste.controller")
public class FeignDept80 {
    public static void main(String[] args) {
        SpringApplication.run(FeignDept80.class,args);
    }


}
